<?php

defined('SYSPATH') or die('No direct access allowed.');

/**
 * @package    Kohana/Codebench
 * @category   Tests
 * @author     Geert De Deckere <geert@idoe.be>
 */
class Bench_Market_Content extends Codebench {

    public $loops = 1000;
    public $description =
		'Fixing <a href="http://dev.kohanaphp.com/issues/2772">#2772</a>, and comparing some possibilities.';
    
    public $subjects = array
	(
		// Valid callback strings
                //0 => array('offset'=>1,'limit'=>1),
		//1 => array('offset'=>1,'limit'=>2),
		2 => array('offset'=>0,'limit'=>2000),
	);
    
    
    public function bench_get_content($subjects)
    {
        $o_service_content = new Model_Service_Content();
        $a_content = $o_service_content->load_all($subjects['offset'],$subjects['limit']);
        return $subjects;
    }

}

?>
